summaryrefslogtreecommitdiffstats
path: root/CMakeModules/CopyYuzuQt5Deps.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeModules/CopyYuzuQt5Deps.cmake')
-rw-r--r--CMakeModules/CopyYuzuQt5Deps.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeModules/CopyYuzuQt5Deps.cmake b/CMakeModules/CopyYuzuQt5Deps.cmake
index ab56de444..b3a65c347 100644
--- a/CMakeModules/CopyYuzuQt5Deps.cmake
+++ b/CMakeModules/CopyYuzuQt5Deps.cmake
@@ -4,7 +4,7 @@
function(copy_yuzu_Qt5_deps target_dir)
include(WindowsCopyFiles)
if (MSVC)
- set(DLL_DEST "${CMAKE_BINARY_DIR}/bin/$<CONFIG>/")
+ set(DLL_DEST "$<TARGET_FILE_DIR:${target_dir}>/")
set(Qt5_DLL_DIR "${Qt5_DIR}/../../../bin")
else()
set(DLL_DEST "${CMAKE_BINARY_DIR}/bin/")